
import os

# 获取日志存放
def get_yaml_path(filename):
    # 获取根路径
    root_url = os.path.dirname(os.path.dirname(__file__))
    # 拼接路径
    return os.path.join(root_url,"data",filename)
def get_log_path():
    # 获取根路径
    root_dir = os.path.dirname(os.path.dirname(__file__))
    # 拼接路径
    yaml_path = os.path.join(root_dir, "logs")
    return yaml_path

if __name__ == "__main__":
    a = 5
    print(a)
    print(get_yaml_path("userManage.yaml"))



